﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace KNXService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IKNXObjectsManager" in both code and config file together.
    [ServiceContract]
    public interface IKNXObjectsManager
    {
        [OperationContract]
        bool StartConnection();

        [OperationContract]
        void CloseConnection();

        [OperationContract]
        KNXObject ReadValue(string id);

        [OperationContract]
        void WriteValue(string id, string value);

        [OperationContract]
        Dictionary<string, KNXObject> GetAllObjects();
    }
}
